<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>React二次体验</title>
  <script src="./js/react.development.js"></script>
  <script src="./js/react-dom.development.js"></script>
</head>

<body>
  <div id="root"></div>

  <script>
    let div = React.createElement('div', null, React.createElement('h2', { title: '第二次体验' }, '第二次体验react'), React.createElement('p', null, '第二次体验的P标签', React.createElement('a', { href: '##' }, '求求你了点一下我吧')))

    ReactDOM.render(div, document.getElementById('root'))
  </script>
</body>

</html>